Class sbktech.tools.hashjava.bytecode.Method
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sbktech.tools.hashjava.bytecode.Method

java.lang.Object
   |
   +----sbktech.tools.hashjava.bytecode.Method

public class Method
extends Object
implements VMConstants, Modifiable
A Method is a reference to a method defined in a class. You just get to examine and alter its name through the Modifiable interface
Author:
$Author: kbs $

Method Index

 o equals(Object)
 o newName()
 o originalName()
 o permissions()
 o rename(String)
set the new name for this method
 o toString()

Methods

 o permissions
  public int permissions()
Returns:
the access permissions for this method
See Also:
VMConstants
 o originalName
  public String originalName()
Returns:
the method's original name
 o newName
  public String newName()
Returns:
the method's new (possibly modified) name
 o rename
  public void rename(String name)
set the new name for this method
Parameters:
name - new name for method
 o equals
  public boolean equals(Object x)
Returns:
true if the Method being compared has the same name and signature
Overrides:
equals in class Object
 o toString
  public String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index